From: Jonas Dreßler Date: Fri, 30 Jul 2021 08:46:52 +0000 (+0200) Subject: Revert "workspaceAnimation: Allow long swipes in session" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~173 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=67596e7c8310048bdbdb6661512e391c7012c7cc;p=gnome-shell.git Revert "workspaceAnimation: Allow long swipes in session" The behavior when switching workspaces now with the touchpad gesture is very very weird, it almost always swipes to the last workspace instead of the next one. So revert this change again and only swipe a single page per gesture. We can enable long swipes again when we've figured out a proper way to detect what the user wants (which is going to be quite challenging), see https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4355. This reverts commit dfae3281b9a7fe6f5ccb6e9c175591a5ce31fd73. Part-of: --- diff --git a/js/ui/workspaceAnimation.js b/js/ui/workspaceAnimation.js index 0eec196bc..d240fe156 100644 --- a/js/ui/workspaceAnimation.js +++ b/js/ui/workspaceAnimation.js @@ -287,7 +287,6 @@ var WorkspaceAnimationController = class { Clutter.Orientation.HORIZONTAL, Shell.ActionMode.NORMAL, { allowDrag: false }); - swipeTracker.allowLongSwipes = true; swipeTracker.connect('begin', this._switchWorkspaceBegin.bind(this)); swipeTracker.connect('update', this._switchWorkspaceUpdate.bind(this)); swipeTracker.connect('end', this._switchWorkspaceEnd.bind(this));